package com.ruoyi.kenuo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 kenuo_messages
 *
 * @author polo tang
 * @date 2023-09-14
 */
public class Messages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 医生的账号 */
    @Excel(name = "医生的账号")
    private String doctorName;

    /** 医生的id */
    @Excel(name = "医生的id")
    private Long doctorId;

    /** 客户端的账号 */
    @Excel(name = "客户端的账号")
    private String clientName;

    /** 客户的id */
    @Excel(name = "客户的id")
    private Long clientId;

    /** 1: 医生发的消息  2:客户的发的消息 */
    @Excel(name = "1: 医生发的消息  2:客户的发的消息")
    private Long isTo;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String contents;

    //医生的头像
    private String docUrl;
    //患者的头像
    private String clientUrl;
    /** 备用字段1 */
    private String remarkOne;

    /** 备用字段2 */
    private String remarkTwo;

    /** 备用字段3 */
    private String remarkThree;

    private Integer readFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDoctorName(String doctorName)
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName()
    {
        return doctorName;
    }
    public void setDoctorId(Long doctorId)
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId()
    {
        return doctorId;
    }
    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getClientName()
    {
        return clientName;
    }
    public void setClientId(Long clientId)
    {
        this.clientId = clientId;
    }

    public Long getClientId()
    {
        return clientId;
    }
    public void setIsTo(Long isTo)
    {
        this.isTo = isTo;
    }

    public Long getIsTo()
    {
        return isTo;
    }
    public void setContents(String contents)
    {
        this.contents = contents;
    }

    public String getContents()
    {
        return contents;
    }

    public void setRemarkOne(String remarkOne)
    {
        this.remarkOne = remarkOne;
    }

    public String getRemarkOne()
    {
        return remarkOne;
    }
    public void setRemarkTwo(String remarkTwo)
    {
        this.remarkTwo = remarkTwo;
    }

    public String getRemarkTwo()
    {
        return remarkTwo;
    }
    public void setRemarkThree(String remarkThree)
    {
        this.remarkThree = remarkThree;
    }

    public String getRemarkThree()
    {
        return remarkThree;
    }

    public String getDocUrl() {
        return docUrl;
    }

    public void setDocUrl(String docUrl) {
        this.docUrl = docUrl;
    }

    public String getClientUrl() {
        return clientUrl;
    }

    public void setClientUrl(String clientUrl) {
        this.clientUrl = clientUrl;
    }

    public Integer getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Integer readFlag) {
        this.readFlag = readFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("doctorName", getDoctorName())
            .append("doctorId", getDoctorId())
            .append("clientName", getClientName())
            .append("clientId", getClientId())
            .append("isTo", getIsTo())
            .append("contents", getContents())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remarkOne", getRemarkOne())
            .append("remarkTwo", getRemarkTwo())
            .append("remarkThree", getRemarkThree())
            .toString();
    }
}
